ftp

iPhone SDK: Storing username and password in the code.

Hi, In my app, user can upload files to a ftp server. To open the connection and write to the server, I need to use username and password. Having FTP username and password in the code looks like a security issue. Can someone please tell me how can I securely store this in my code and use it to connect to the server? Thanks a lot! ...

Is there a way to change the Transmission size when ftp'ing in .NET 2.0?

My ftp is truncating data. Using a different product we are able to change the tranmissions size and it works. But I can't figure out hwo to do it in .NET. // FTP the file FtpWebRequest ftp = (FtpWebRequest)FtpWebRequest.Create(ftpfullpath); ftp.Credentials = new NetworkCredential(user, pwd); ...

Window focus when editing remote files over FTP on a Mac

I use a combination of ForkLift and Textmate to edit files on a remote server via FTP. it works really well, except for one little quirk: when I hit save on Textmate, Forklift saves the file, and then Forklift takes the focus. So, every time I hit Save on Textmate, I have to wait for Forklift to save, and then hit Cmd + Tab to return to ...

How do I use PORT ftp raw command in c#?

Hi, I am trying to make a FTP client in c#. I found a class that support basic FTP commands on http://msdn.microsoft.com/en-us/library/system.net.webrequestmethods.ftp_members.aspx. on the list, PORT command is missing. How do I use PORT command in c#? ...

What things might cause line sizes to be altered while ftp'ing?

I have a .NET 2.0 console app. I am writing out data to a dtl file to be ftp'ed to an AS/400 server.Each line have to 1786 bytes. If I open the file in notepad, each line is, in fact, 1786. However, when I ftp it, the guy on the other end is saying there is data bneing truncated. He can't give me any more info, but he seems to think that...

How to determine if a file has finished transferring to be able to copy.

What is the best method to make sure that a file that is transferred via ftp has finished before another process attempts to move/copy that file? ...

FTP a text file to a server using VBA in Excel

I have an Excel worksheet where the user enters certain data, which I want to store in a text file and upload to a server using FTP. One site suggested adding a reference to "Microsoft Internet Transfer Control" and then define an "Inet" object to do the FTP. However, I am unable to find a reference with this name in "Tools -> References...

Python FTP grabbing and saving images issue

EDIT: I got it working it just won't download anything... So here is my code simplified now: notions_ftp = ftplib.FTP(ftp_host, ftp_user, ftp_passwd) folder = "Leisure Arts - Images" notions_ftp.cwd(folder) image = open("015693PR-com.jpg","wb") notions_ftp.retrlines("RETR 015693PR-com.jpg", image.write) send_image = open("015693PR-com....

FTP: check whether file is closed

Hello! My FTP client (apache commons ftpclient) needs to download file from FTP. The problem is that an external service may not have finished writing to this file before I start downloading. Is there any way to determine via FTP whether the file is already closed (i.e. there is no writing handlers opened)? The problem is that I cann...

Good simple C/C++ FTP and SFTP client library recommendation for embedded Linux

Could anyone recommend FTP / SFTP client C/C++ library for Linux-based embedded system? I know about Curl library but I need something as simple as possible just to download files from FTP / SFTP servers. Is there any recommendation to look for? Yes, SFTP support is critical. Actually I can even sacrifice multi-threading because I need o...

How to deploy war file in Filezilla FTP?

How to deploy war file in Filezila FTP? ...

How do I set the LRECL in C#.NET?

I have been trying to ftp a dtl file from .net to, what I beleive, is an AS400. The error being reported back to me is: "One or more lines have been truncated" and the admin is saying the file is coming over with 256 lines that have variable length columns. I found this explanation online: we have to establish defaults because no specif...

Recommend a Visual Studio FTP deployment plug-in

Hi there, we've recently stumbled across the excellent Dispatch for ASP FTP deployment plug in. It looks great apart from one thing: It doesn't work with Visual Studio 2010, at least for us, anyway. (It's supposed to work fine.) (Yes, we've tried everything: We've managed to get Dispatch working for another FTP site, but not the main on...

Is there an easy way to add a secure file upload form (username, password, select file) to a website?

Hi, I am very new to website design. Have an architect who wants his clients to enable his clients to upload (ftp - but don't know if http could be a better alternative?) files (plans etc.) to him, through the website I'm designing for him. I have seen similar things available on printers websites... I have seen uploadify, but it requ...

Connection reset when calling disconnect() using enterprisedt's ftp java framework

I'm having trouble disconnecting from a ftp-server, using the enterprisedt java ftp framework. I can simply not call disconnect() on a FileTransferClient object without getting an error. I do not do anything, besides connecting to the server, and then disconnecting: // create client log.info("Creating FTP client"); ...

Available options for hosting FTP server in .NET application

I need to implement an FTP service inside my .NET application (running as a Windows Service) and have not had much luck finding good/current source code or vendors. Ideally it needs to be able to respond to the basic FTP Protocol and accept the data stream from an upload via a stream, enabling me to process the data as it is being recei...

git: import changes form non git repository

Scenario: Local git repo, default master branch FTP server with content of the repo (non git), synchronized daily with the local repo, master branch Workflow: user1 is working on local git repo (git add, working directory clean) user2 (non git user) changed files directly on the FTP server How can I import all files changed on FT...

I need Help on FTP using Java

i need the source code of an application that can upload and download automatically from the remote computer (FTP) using java language. thanks ...

Windows FTP batch sript to read & dl from external user list

i have several old, unused batches that i'm redoing.. I have a batch file for an old network arch from several years ago.. the main thing I'd like it to do now is read a list of files.. I'll explain the setup.. Server updates a complete list [CurrentMediaStores.txt] 2x a day. The laptops can set settings to DL this list through their st...

best way to know the time of upload/download of a file from/onto iPhone

Hi I'm trying to get the time interval I need to download/upload something to/from a server with no password/proxy. I found a method used by ericasadun. Which actually prints the time iPhone needed to download a certain file. - (void) getData: (NSNumber *) which { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init...