I have been trying to create a file on a remote drive melodramatically. Every time i try so, it gives me "KErrNotReady". following is code I wrote to do so. Looks like, it is not able to resolve the drive name.
_LIT(KUploadFile,"w:\\Test1.txt");//w is the remote drive name
RFs fs;
RFile iRImage;
TInt DriveErr=fs.IsValidDrive(EDriveW);
TInt err=iRImage.Create(fs,KUploadFile,EFileRead|EFileShareAny);
iRImage.Close();//err returns KErrNotReady
fs.Close();. Please suggest any alternative.

NOTE: I'm able to copy files to the same Remote drive using file manager.