Results 1 to 6 of 6

Thread: FTP file upload not working properly

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2005
    Posts
    248

    FTP file upload not working properly

    Hi all,

    I've made a program that takes a screenshot, saves it locally, and then uploads it via FTP to my server using a certain naming system.

    I have included all of the code exactly how it is, except that the real FTP login details, which I have changed to "ftp://username[email protected]". Obviously, I use my real login details here.

    The problem is, the file I am uploading is a fairly hefty bitmap (about 3-4MB). I don't know if this has anything to do with my problem, but basically the issue is that if I try and run the code, sometimes it will outright crash, giving me the normal windows error, sometimes it will work, and (if compiled as an exe) it gives a special error message before crashing. I have included both error messages in the attatch screenshot "Ugh.JPG".

    Can anyone tell me why my program is doing this, and how to stop it? Maybe the file is too large or something? Maybe there's a better way of transferring it? Any ideas?

    Thanks
    Attached Images Attached Images  
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width