• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

FTPProtocolException:STOR and FTPProtocolException:LIST??

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all friends,
I am developing one FTP client for uploading and downloading file to and from my webserver but when Iam trying to upload file then my FTP client connected to host and showing me user login OK but after that it is giving me 'Error from put method:sun.net.ftp.FTPProtocolException:STOR' and during download it is giving me error 'Error from get method:sun.net.ftp.FTPProtocolException:LIST'.I have tried to find it out why it is giving me error but couldn't.Can any one plz guide me where Iam doing wrong.Below r my codes.

Regards
Bikash
 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Now I have modified my putFile() method's code but still Iam getting below Error.Can any one plz guide me where Iam doing wrong.
Connecting to host www.kdkinfotech.com
User kmrraj login OK
Directory: img
File C:\config_file.txt: 796 bytes
The value of m_sHostFile:C:\config_file.txt
Error from put method: sun.net.ftp.FtpProtocolException: STOR config_file.txt
Modified code of putFile() method:-

Regards
Bikash
 
reply
    Bookmark Topic Watch Topic
  • New Topic